package java8_26.chongwu;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetTEst8 {
    public static void main(String[] args) {
//        Dog d=new Dog(null,"公",89,90);
//        Dog d2=new Dog(null,"母",89,90);
//        boolean f=d.equals(d2);
//        System.out.println(f);

        AnimalDoctor d=new AnimalDoctor("李医生");
        Dog d3=new Dog("大黄","公",29,90);
        Tiger t=new Tiger("小美丽","母",40,90);

        d.cure(d3);
        d.cure(t);
        System.out.println(">>>>>>>>>>>>>>>>>>>");
        Cat c=new Cat("虎纹猫","公",59,100);
        d.cure(c);
    }

}
